Update Role Profiles
{ updateRolesByProfileId }
Used to assign and unassign user profiles to different roles.
Method
Input Parameters
Name
profileRolesData
Object Type
Description
The profile-role object contains a list of all roles to add or remove for the specified profile.
Output Response
Successful Result Code
200
Response List Type
Description of Response Type
Returns a generic response object with the list of the added/removed role IDs Note that the response is returned as a list of items of this object type.
Notes
Provide the list of roles to add and a list of roles to delete for the specified profile.
Examples
Running Queries and Slicers programmatically (JavaScript):
This example demonstrates how to run queries and slicers (parameters) programmatically to extract results.
The example uses API authentication driven from JavaScript. See Authentication APIs for alternatives.